<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>修改班级界面</title>
</head>
<body>
<form action="/class/update">
    班级名称 <span th:text="${classObj.className}"/><br>
    班级带班老师 <input type="text" name="teacher" th:value="${classObj.teacher}"><br>
    <input type="hidden" name="id" th:value="${classObj.classId}"><br>
    <input type="submit" value="点击修改">
</form>
</body>
</html>